<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>相册 - 上传</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css">

    <style type="text/css"></style>
</head>
<body>
<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">S70私密的相册</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="/">相册首页</a></li>
                <li><a href="/up">上传</a></li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<div class="container">
    <div class="row">
        <div class="col-md-6">
            <form action="/up" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <label>请选择文件夹: </label>
                    <select class="form-control" name="wjj">
                        <% for (var i = 0; i < pics.length; i++) { %>
                            <option class="h3"><%= pics[i] %></option>
                        <% } %>
                    </select>
                </div>
                <div class="form-group">
                    <label>请选择上传图片: </label>
                    <input type="file" name="myfile">
                </div>
                <button class="btn btn-lg btn-info">上传</button>
            </form>
        </div>
    </div>
</div>

<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</body>
</html>